package com.chicken.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;

import com.chicken.pojo.Member;
import com.chicken.repository.MemberRepository;
import com.chicken.service.MemberService;

@Service
public class MemberServiceImpl implements MemberService {

	@Resource
	private MemberRepository  memberRepository;
	
	
	public int loginAll(@Param("username") String username,
			@Param("password") String password) {
		return memberRepository.loginAll(username, password);
	}
	
	

}
